
/**
 * 为了解决PC页面分享跳转至移动端，取到文章ID，重定向newsDetail.html通用页面
 * 该包依赖jQuery
 */
$(function(){
	var url=location.search;
	var Request = new Object();
	if(url.indexOf("?")!=-1){
	    var str = url.substr(1)
	    strs = str.split("&");
	    for(var i=0;i<strs.length;i++){
	        Request[strs[i ].split("=")[0]]=unescape(strs[i].split("=")[1]);
	    }
	}
	var id = Request["id"];
	var par = {
		id : id
	};
	window.location.href = '../listPage/newsDetail.html?id='+id;
})